﻿using System.ComponentModel.DataAnnotations;

namespace StudyCompanion.Dto.User;

public class PasswordLoginDto
{
    /// <summary>
    ///     账号
    /// </summary>
    /// <returns></returns>
    [Required(ErrorMessage = "账号不能为空")]
    public string Account { get; set; }

    /// <summary>
    ///     密码
    /// </summary>
    [Required(ErrorMessage = "密码不能为空")]
    public string Password { get; set; }
}